
/* FILE
 * 
 * file: words.cpp
 * 
 * 
 */
/* 
 */
# ifndef __LIB_WORDS
# define __LIB_WORDS

// # include <stdio.h>

/* for use string */
# include <string.h>

# include "word.c"

/* */
struct Words
{
  /*  */
  struct Word* head;  
  /*  */
  struct Word* tail;

  /*  */
  struct Word* select;
};

/* INFO del (WithSelect _)
 * 
 * remove the preselected item - from the selected point (select) 
 * 
 * return: void
 * 
 * 
 */
void 
del (struct Words *this);

struct Word*
words__get(struct Words *this);

void
clear__str (char *value);

/* INFO del (WithTail _)
 * 
 * remove the last element - from the tail part (tail)
 * 
 * return: this->tail element
 * 
 * 
 */
void 
del__tail (struct Words *this);

/* INFO del (WithHead _)
 * 
 * remove the first element - from the head part (head)
 * 
 * return: this->head element
 * 
 * 
 */
void 
del__head (struct Words *this);

# endif /* __LIB_WORDS */

